package com.liy.framework.common.tree;

import java.util.*;

public class TreeNode
{
    private String id;
    private String pid;
    private String name;
    private String icon;
    private Map<String, Object> attributes;
    private List<TreeNode> children;
    
    public String getId() {
        return this.id;
    }
    
    public void setId(final String id) {
        this.id = id;
    }
    
    public String getPid() {
        return this.pid;
    }
    
    public void setPid(final String pid) {
        this.pid = pid;
    }
    
    public String getName() {
        return this.name;
    }
    
    public void setName(final String name) {
        this.name = name;
    }
    
    public String getIcon() {
        return this.icon;
    }
    
    public void setIcon(final String icon) {
        this.icon = icon;
    }
    
    public Map<String, Object> getAttributes() {
        return this.attributes;
    }
    
    public void setAttributes(final Map<String, Object> attributes) {
        this.attributes = attributes;
    }
    
    public List<TreeNode> getChildren() {
        return this.children;
    }
    
    public void setChildren(final List<TreeNode> children) {
        this.children = children;
    }
}
